package com.qst.crop.dao;

import com.qst.crop.entity.Intention;
import com.qst.crop.entity.Recommend;
import org.springframework.stereotype.Component;

import java.util.List;
///融资
@Component
public interface FinanceDao {
    List<Intention> selectIntentionByName(String name);

    void updateIntentionByName(Intention intention);

    void insertIntentionByName(Intention intention);

    void deleteIntentionByName(String name);

    Intention selectIntention(String name);

    List<Recommend> selectWithNoneIntention(String name);

    List<Recommend> selectAllRecommend(String name);
}
